package com.zhuang.chapter05.work02;

public class Employee {
	private String name;

	private int id;

	private double salary;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public double getSalary() {
		return salary;
	}

	public void setSalary(double salary) {
		this.salary = salary;
	}

	public void show() {
		System.out.println("员工编号：" + this.id + "," + "姓名：" + this.name + "," + "年薪：" + this.salary);
	}
}
